TRAIN_TYPE = {
  G: { code: "G", message: "高铁" },
  D: { code: "D", message: "动车" },
  K: { code: "K", message: "特快" },
};

TRAIN_TYPE_ARRAY = [
  { code: "G", message: "高铁" },
  { code: "D", message: "动车" },
  { code: "K", message: "特快" },
];

SEAT_TYPE = {
  YDZ: { code: "1", message: "一等座" },
  EDZ: { code: "2", message: "二等座" },
  RW: { code: "3", message: "软卧" },
  YW: { code: "4", message: "硬卧" },
};

SEAT_TYPE_ARRAY = [
  { code: "1", message: "一等座" },
  { code: "2", message: "二等座" },
  { code: "3", message: "软卧" },
  { code: "4", message: "硬卧" },
];

SEAT_COL = {
  YDZ_A: { code: "A", message: "A", type: "1" },
  YDZ_B: { code: "B", message: "B", type: "1" },
  YDZ_D: { code: "D", message: "D", type: "1" },
  YDZ_E: { code: "F", message: "F", type: "1" },
  EDZ_A: { code: "A", message: "A", type: "2" },
  EDZ_B: { code: "B", message: "B", type: "2" },
  EDZ_C: { code: "C", message: "C", type: "2" },
  EDZ_D: { code: "D", message: "D", type: "2" },
  EDZ_F: { code: "F", message: "F", type: "2" },
  RW_A: { code: "A", message: "A", type: "3" },
  RW_B: { code: "B", message: "B", type: "3" },
  RW_C: { code: "C", message: "C", type: "3" },
  RW_D: { code: "D", message: "D", type: "3" },
  RW_E: { code: "E", message: "E", type: "3" },
  RW_F: { code: "F", message: "F", type: "3" },
};

SEAT_COL_ARRAY = [
  { code: "A", message: "A", type: "1" },
  { code: "B", message: "B", type: "1" },
  { code: "D", message: "D", type: "1" },
  { code: "F", message: "F", type: "1" },
  { code: "A", message: "A", type: "2" },
  { code: "B", message: "B", type: "2" },
  { code: "C", message: "C", type: "2" },
  { code: "D", message: "D", type: "2" },
  { code: "F", message: "F", type: "2" },
  { code: "A", message: "A", type: "3" },
  { code: "B", message: "B", type: "3" },
  { code: "C", message: "C", type: "3" },
  { code: "D", message: "D", type: "3" },
  { code: "E", message: "E", type: "3" },
  { code: "F", message: "F", type: "3" },
];

JOB_STATUS = {
  UN_RUN: { code: "0", message: "未运行" },
  RUNNING: { code: "1", message: "运行中" },
  PAUSE: { code: "2", message: "暂停" },
  FINISH: { code: "3", message: "完成" },
  ERROR: { code: "4", message: "错误" },
  BLOCK: { code: "5", message: "阻塞" },
};

JOB_STATUS_ARRAY = [
  { code: "0", message: "未运行" },
  { code: "1", message: "运行中" },
  { code: "2", message: "暂停" },
  { code: "3", message: "完成" },
  { code: "4", message: "错误" },
  { code: "5", message: "阻塞" },
];

CONFIRM_ORDER_STATUS = {
  INIT: { code: "I", message: "待支付" },
  PENDING: { code: "P", message: "支付中" },
  SUCCESS: { code: "S", message: "支付成功" },
  FAILURE: { code: "F", message: "支付失败" },
  EMPTY: { code: "E", message: "无票" },
  CANCEL: { code: "C", message: "取消支付" },
};

CONFIRM_ORDER_STATUS_ARRAY = [
  { code: "I", message: "待支付" },
  { code: "P", message: "支付中" },
  { code: "S", message: "支付成功" },
  { code: "F", message: "支付失败" },
  { code: "E", message: "无票" },
  { code: "C", message: "取消支付" },
];
